package cn.epsilon3.utils;

import cn.hutool.core.util.ReUtil;

/**
 * 正则匹配工具类
 *
 * @author epsilon3
 * @date 2023-05-23
 */
public class RegexUtils {

    public static Boolean isMatchEmail(String content) {
        return ReUtil.isMatch("^[a-z0-9A-Z]+[- | a-z0-9A-Z . _]+@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-z]{2,}$",content);
    }
}
